{% extends "base.html" %}-
{% load i18n %}

{% block head %}
<h1>Sign in</h1>
{% endblock %}

{% block content_title %}
<h1>Register your account</h1>
{% endblock %}

{% block content %}
{% if form.errors %}
    <div class="errors">
        <p>Error while submitting form</p>
        
    </div>
    <br>
{% endif %}

<h3>Make a choice:</h3>
<p> <a href="{% url registration_register %}">Register</a> | <a href="{% url user_signin %}">Log-In</a></p>

<form action="" method="post">
    <fieldset>
	    <legend>{% trans "Sign In Using Your Account ID" %}</legend>
	    <table>
		    {{ form.as_table }}
	    </table>
	    <p><input type="submit" name="bsignup'" value="{% trans "Sign up" %}"> </p>
	 </fieldset>
</form>
{% endblock %}
